package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 兑换上限请求
 *
 * @Author：LiGen
 * @Package：com.sc.nft.controller.request
 * @Project：sc_metago
 * @name：ExpendEcologyCastRequest1
 * @Date：2024/6/15 16:02
 * @Filename：ExpendEcologyCastRequest1
 */
@Data
public class ConvertibilityCeilingRequest {

    @ApiModelProperty(value = "兑换上限配置id")
    @NotNull(message = "兑换上限配置id不能为空")
    private Long id;

    @ApiModelProperty(value = "兑换数量")
    @NotNull(message = "兑换数量不能为空")
    @Min(value = 1,message = "铸造数量最小值不能低于1")
    private Integer count;

    @ApiModelProperty(value = "支付密码")
    @NotNull(message = "支付密码不能为空")
    private String payPwd;

}
